<?xml version="1.0" encoding="utf-8" ?>
<TestGroup xmlns="http://www.microsoft.com/hed/mte/xenon/tcs/TestDefinition">
  <CommonParameterList>
  </CommonParameterList>
  <Test name="StartReportingVoltage">
    <Variation name="V_3P3">
      <MinDurationInMilliseconds>
        10
      </MinDurationInMilliseconds>
      <MaxDurationInMilliseconds>
        180000
      </MaxDurationInMilliseconds>
      <MeasurementList>
        <Measurement name="VoltageV_3P3" units="volts" resolution="1"></Measurement>
        <Measurement name="CurrentV_3P3" units="amps" resolution="1"></Measurement>
        <Measurement name="PowerV_3P3" units="watts" resolution="1"></Measurement>
      </MeasurementList>
      <ParameterList>
        <Parameter name="VoltageRailList">
          <VoltageRailSet>
            <VoltageRail>V_3P3</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
        </Parameter>
        <Parameter name="SampleRate">30000</Parameter>
      </ParameterList>
    </Variation>
    <Variation name="V_5P0">
      <MinDurationInMilliseconds>
        10
      </MinDurationInMilliseconds>
      <MaxDurationInMilliseconds>
        180000
      </MaxDurationInMilliseconds>
      <MeasurementList>
        <Measurement name="VoltageV_5P0" units="volts" resolution="1"></Measurement>
        <Measurement name="CurrentV_5P0" units="amps" resolution="1"></Measurement>
        <Measurement name="PowerV_5P0" units="watts" resolution="1"></Measurement>
      </MeasurementList>
      <ParameterList>
        <Parameter name="VoltageRailList">
          <VoltageRailSet>
            <VoltageRail>V_5P0</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
        </Parameter>
        <Parameter name="SampleRate">30000</Parameter>
      </ParameterList>
    </Variation>
    <Variation name="V_CPUCORE">
      <MinDurationInMilliseconds>
        10
      </MinDurationInMilliseconds>
      <MaxDurationInMilliseconds>
        180000
      </MaxDurationInMilliseconds>
      <MeasurementList>
        <Measurement name="VoltageV_CPUCORE" units="volts" resolution="1"></Measurement>
        <Measurement name="CommandedVoltageV_CPUCORE" units="volts" resolution="1"></Measurement>
        <Measurement name="CurrentV_CPUCORE" units="amps" resolution="1"></Measurement>
        <Measurement name="PowerV_CPUCORE" units="watts" resolution="1"></Measurement>
      </MeasurementList>
      <ParameterList>
        <Parameter name="VoltageRailList">
          <VoltageRailSet>
            <VoltageRail>V_CPUCORE</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>false</ReportPower>
            <!-- The following parameters are applicable only to V_CPUCORE -->  
            <!-- They specify which power losses contributions should be subtracted from the power reported by the regulator -->
            <!-- PlaneLoss is true by default -->
            <!-- The socket losses are mutually exclusive and are disabled by default -->
            <PlaneLoss>true</PlaneLoss>
            <AntaresSocketLoss>true</AntaresSocketLoss>
            <ArdentSocketLoss>false</ArdentSocketLoss>
            <!-- The voltage reported for V_CPUCORE is the output voltage.  -->
            <!-- Setting the ReportCommandedVoltage parameter will also report the commanded voltage -->
            <ReportCommandedVoltage>true</ReportCommandedVoltage>
          </VoltageRailSet>
        </Parameter>
        <Parameter name="SampleRate">30000</Parameter>
      </ParameterList>
    </Variation>
    <Variation name="AllVoltages">
      <MinDurationInMilliseconds>
        10
      </MinDurationInMilliseconds>
      <MaxDurationInMilliseconds>
        90000000
      </MaxDurationInMilliseconds>
      <MeasurementList>
        <Measurement name="VoltageV_3P3" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_5P0" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_CPUEDRAM" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_CPUPLL" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_CPUVCS" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_GPUPCIE" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_MEM" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_GPUVREF" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_MEMVREF" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_12P0" units="volts" resolution="1"></Measurement>
        <Measurement name="VoltageV_CPUCORE" units="volts" resolution="1"></Measurement>
        <Measurement name="CommandedVoltageV_CPUCORE" units="volts" resolution="1"></Measurement>
        <Measurement name="CurrentV_3P3" units="amps" resolution="1"></Measurement>
        <Measurement name="CurrentV_5P0" units="amps" resolution="1"></Measurement>
        <Measurement name="CurrentV_12P0" units="amps" resolution="1"></Measurement>
        <Measurement name="CurrentV_CPUEDRAM" units="amps" resolution="1"></Measurement>
        <Measurement name="CurrentV_CPUVCS" units="amps" resolution="1"></Measurement>
        <Measurement name="CurrentV_MEM" units="amps" resolution="1"></Measurement>
        <Measurement name="CurrentV_CPUCORE" units="amps" resolution="1"></Measurement>
        <Measurement name="PowerV_3P3" units="watts" resolution="1"></Measurement>
        <Measurement name="PowerV_5P0" units="watts" resolution="1"></Measurement>
        <Measurement name="PowerV_12P0" units="watts" resolution="1"></Measurement>
        <Measurement name="PowerV_CPUEDRAM" units="watts" resolution="1"></Measurement>
        <Measurement name="PowerV_CPUVCS" units="watts" resolution="1"></Measurement>
        <Measurement name="PowerV_MEM" units="watts" resolution="1"></Measurement>
        <Measurement name="PowerV_CPUCORE" units="watts" resolution="1"></Measurement>
      </MeasurementList>
      <ParameterList>
        <Parameter name="VoltageRailList">
          <VoltageRailSet>
            <VoltageRail>V_12P0</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_3P3</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_5P0</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_CPUCORE</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
            <!-- The following parameters are applicable only to V_CPUCORE -->
            <!-- They specify which power losses contributions should be subtracted from the power reported by the regulator -->
            <!-- PlaneLoss is true by default -->
            <!-- The socket losses are mutually exclusive and are disabled by default -->
            <PlaneLoss>true</PlaneLoss>
            <AntaresSocketLoss>false</AntaresSocketLoss>
            <ArdentSocketLoss>false</ArdentSocketLoss>
            <!-- The voltage reported for V_CPUCORE is the output voltage.  -->
            <!-- Setting the ReportCommandedVoltage parameter will also report the commanded voltage -->
            <ReportCommandedVoltage>true</ReportCommandedVoltage>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_CPUEDRAM</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_CPUPLL</VoltageRail>
            <!-- This voltage rail does not provide current or power measurements -->
            <ReportCurrent>false</ReportCurrent>
            <ReportPower>false</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_CPUVCS</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_5P0</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_GPUPCIE</VoltageRail>
            <!-- This voltage rail does not provide current or power measurements -->
            <ReportCurrent>false</ReportCurrent>
            <ReportPower>false</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_MEM</VoltageRail>
            <ReportCurrent>true</ReportCurrent>
            <ReportPower>true</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_MEMVREF</VoltageRail>
            <!-- This voltage rail does not provide current or power measurements -->
            <ReportCurrent>false</ReportCurrent>
            <ReportPower>false</ReportPower>
          </VoltageRailSet>
          <VoltageRailSet>
            <VoltageRail>V_GPUVREF</VoltageRail>
            <!-- This voltage rail does not provide current or power measurements -->
            <ReportCurrent>false</ReportCurrent>
            <ReportPower>false</ReportPower>
          </VoltageRailSet>
        </Parameter>
	<Parameter name="SampleRate">30000</Parameter>
        <!-- The test will stop after MaxWaitForCompletion milliseconds have elapsed -->
        <Parameter name="MaxWaitForCompletion">172800000</Parameter>
      </ParameterList>
    </Variation>
  </Test>
  <Test name="StopReportingVoltage">
    <Variation name="DEFAULT">
        <MeasurementList>
        </MeasurementList>
        <ParameterList>
        </ParameterList>
    </Variation>        
  </Test>
</TestGroup>
